/**
 * Copyright (c) 2016,http://www.365wuliu.com/  All Rights Reserved.
 */
package com.cargo.base.exceptions;

/**
 * CommonException:用于需要将异常信息返回给用户的处理（该异常无需记录日志，msg返回给用户）
 * 
 * @Project Name:cargo
 * @File Name:CommonException.java
 * @Package Name:com.cargo.common.exceptions
 * @Creator:wizard
 * @Date:2016年4月14日下午2:03:32
 */
public class MailException extends Exception {

	private static final long serialVersionUID = -4658668678243488984L;
	private String msg;

	public MailException(String msg) {
		this.msg = msg;
	}

	@Override
	public String getMessage() {
		return this.msg;
	}

}
